Order filled
Type: Websocket Push Description: Trade (order filled) notification
Parameters
name | type | mandatory | default | description |
---|---|---|---|---|
– | – | false | N/A | No parameters required, subscribe to the trade topic to receive updates |
Notes
- This push notification is triggered when a trade (order fill) occurs.
- Subscription format:
trade
- Indicates execution details including trade ID, order ID, price, quantity, and maker/taker info.
- Useful for tracking completed trades in real time.
Push Example
Push
{
"topic": "trade",
"event": "trade",
"data": {
"s": "btc_usdt", // Symbol
"i": 6316559590087222000, // Trade ID
"t": 1655992403617, // Trade time (ms)
"oi": 6616559590087222666, // Order ID
"p": "43000", // Price
"q": "0.21", // Quantity
"v": "9030", // Quote quantity
"b": true, // Whether buyer is maker (true=buyerMaker)
"tm": 1 // Taker/maker: 1 = taker, 2 = maker
}
}